package ifswitch;

import java.util.Scanner;

public class test2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的票号");
        int shuzi = sc.nextInt();
        if (shuzi > 100 | shuzi < 1) {
            System.out.println("票号无效");
        }
        else {
            if (shuzi % 2 == 0) {
                System.out.println("坐右边");
            }
            else {
                System.out.println("坐左边");
            }
        }
    }
}
